<table class="layui-table">
    <tr>
        <th width="15%" style="background-color: #ebebeb;">跳转节点</th>
        <td width="35%">
            <select id="destTask" include="1" name="destTask" lay-filter="destTask">
                <option value="">请选择</option>
                <#list jumpNodeMap?keys as key>
                    <optgroup label="${key}">
                        <#assign taskMap=jumpNodeMap[key]>
                        <#list taskMap?keys as mapKey>
                            <option value="${mapKey}">${taskMap[mapKey]}</option>
                        </#list>
                    </optgroup>
                </#list>
            </select>
        </td>
        <th width="15%" style="background-color: #ebebeb;">节点执行人</th>
        <td width="35%">
            <input type="hidden" include="1" id="lastDestTaskId" name="lastDestTaskId" value="">
            <span id="jumpUserDiv"></span>
            <i class="layui-icon layui-icon-username"><a href="javascript:;" onclick="selectExeUsers(this)">选择...</a></i>
        </td>
    </tr>
</table>
<script>
    layui.use(['form'], function () {
        var form = layui.form;
        form.render();

        form.on('select(destTask)', function(data){
            changeDestTask(data);
        });
    });
</script>